<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>1.4什么是浮动</title>
    <style>
        .left,
        .right {
            float: left;
            width: 200px;
            height: 200px;
            background-color: aqua;
        }
        .right {
            float:right;
        }
        /* 样式层叠 */
    </style>
</head>
<body>
    <div class="left">青龙</div>
    <div class="right">白虎</div>
    <img src="img/青龙白虎.png" alt="">
</body>
</html>